<div class="section">
<div class="section_extra">
<ul class="ul_buttons" >
	<li><span class="button green_btn"><span><span> <?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('User.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('User.id'))); ?></span></span></span></li>
		<li><span class="button green_btn"><span><span> <?php echo $html->link(__('List Users', true), array('action' => 'index'));?></span></span></span></li>
			<li><span class="button green_btn"><span><span><?php echo $html->link(__('List Groups', true), array('controller' => 'groups', 'action' => 'index')); ?> </span></span></span></li>
		<li><span class="button green_btn"><span><span><?php echo $html->link(__('New Group', true), array('controller' => 'groups', 'action' => 'add')); ?> </span></span></span></li>
</ul>
<div class="clear"></div>
</div>
<div class="section_inner">
<div class="title_wrapper">
<h2><?php __('Edit User');?></h2><div class="right">&nbsp;</div>
</div>
<div class="section_content"><?php echo $form->create('User',array('class'=>'search_form general_form'));?>
<fieldset>
<div class="forms">	<?php
		echo $form->input('id',array('div'=>'row'));
	?>
	<?php
		  echo  $form->input('user_name',array('between'=>'<div class="inputs">
								<span class="input_wrapper">','after'=>'</span></div>','div'=>'row','class'=>'text','error'=>array('wrap'=>'span','class'=>'system negative')));
	?>
	<?php
		  echo  $form->input('email_address',array('between'=>'<div class="inputs">
								<span class="input_wrapper">','after'=>'</span></div>','div'=>'row','class'=>'text','error'=>array('wrap'=>'span','class'=>'system negative')));
	?>
	<?php
		  echo  $form->input('password',array('between'=>'<div class="inputs">
								<span class="input_wrapper">','after'=>'</span></div>','div'=>'row','class'=>'text','error'=>array('wrap'=>'span','class'=>'system negative')));
	?>
	<?php
	 	  
	 	  echo "<div class=\"inputs\">";
	 	  echo  $form->label('Active');	
		  echo  $form->checkbox('active',array('label'=>false));
		  echo "</div>";
	?>
	<?php
		 echo $form->input('Group',array('between'=>'<div class="inputs">
						<span class="input_wrapper blank">','after'=>'</span></div>','div'=>'row','error'=>array('wrap'=>'span','class'=>'system negative')));  
	?>
 <span class="button send_form_btn"><span><span>Submit</span></span><input
	type="submit" value="Submit" /></span></div>
</fieldset>
<?php echo $form->end();?>
<div class="clear"></div>

</div>
</div>
</div>

